/*
 * XML Type:  ETypedElement
 * Namespace: http://www.eclipse.org/emf/2002/Ecore
 * Java type: org.eclipse.emf.x2002.ecore.ETypedElement
 *
 * Automatically generated - do not modify.
 */
package org.eclipse.emf.x2002.ecore;


/**
 * An XML ETypedElement(@http://www.eclipse.org/emf/2002/Ecore).
 *
 * This is a complex type.
 */
public interface ETypedElement extends org.eclipse.emf.x2002.ecore.ENamedElement
{
    public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)
        org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(ETypedElement.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.sFBDCFB7615E0FAB3CF0394CF3AD1FE99").resolveHandle("etypedelement45aftype");
    
    /**
     * Gets the "ordered" attribute
     */
    boolean getOrdered();
    
    /**
     * Gets (as xml) the "ordered" attribute
     */
    org.eclipse.emf.x2002.ecore.EBoolean xgetOrdered();
    
    /**
     * True if has "ordered" attribute
     */
    boolean isSetOrdered();
    
    /**
     * Sets the "ordered" attribute
     */
    void setOrdered(boolean ordered);
    
    /**
     * Sets (as xml) the "ordered" attribute
     */
    void xsetOrdered(org.eclipse.emf.x2002.ecore.EBoolean ordered);
    
    /**
     * Unsets the "ordered" attribute
     */
    void unsetOrdered();
    
    /**
     * Gets the "unique" attribute
     */
    boolean getUnique();
    
    /**
     * Gets (as xml) the "unique" attribute
     */
    org.eclipse.emf.x2002.ecore.EBoolean xgetUnique();
    
    /**
     * True if has "unique" attribute
     */
    boolean isSetUnique();
    
    /**
     * Sets the "unique" attribute
     */
    void setUnique(boolean unique);
    
    /**
     * Sets (as xml) the "unique" attribute
     */
    void xsetUnique(org.eclipse.emf.x2002.ecore.EBoolean unique);
    
    /**
     * Unsets the "unique" attribute
     */
    void unsetUnique();
    
    /**
     * Gets the "lowerBound" attribute
     */
    int getLowerBound();
    
    /**
     * Gets (as xml) the "lowerBound" attribute
     */
    org.eclipse.emf.x2002.ecore.EInt xgetLowerBound();
    
    /**
     * True if has "lowerBound" attribute
     */
    boolean isSetLowerBound();
    
    /**
     * Sets the "lowerBound" attribute
     */
    void setLowerBound(int lowerBound);
    
    /**
     * Sets (as xml) the "lowerBound" attribute
     */
    void xsetLowerBound(org.eclipse.emf.x2002.ecore.EInt lowerBound);
    
    /**
     * Unsets the "lowerBound" attribute
     */
    void unsetLowerBound();
    
    /**
     * Gets the "upperBound" attribute
     */
    int getUpperBound();
    
    /**
     * Gets (as xml) the "upperBound" attribute
     */
    org.eclipse.emf.x2002.ecore.EInt xgetUpperBound();
    
    /**
     * True if has "upperBound" attribute
     */
    boolean isSetUpperBound();
    
    /**
     * Sets the "upperBound" attribute
     */
    void setUpperBound(int upperBound);
    
    /**
     * Sets (as xml) the "upperBound" attribute
     */
    void xsetUpperBound(org.eclipse.emf.x2002.ecore.EInt upperBound);
    
    /**
     * Unsets the "upperBound" attribute
     */
    void unsetUpperBound();
    
    /**
     * Gets the "many" attribute
     */
    boolean getMany();
    
    /**
     * Gets (as xml) the "many" attribute
     */
    org.eclipse.emf.x2002.ecore.EBoolean xgetMany();
    
    /**
     * True if has "many" attribute
     */
    boolean isSetMany();
    
    /**
     * Sets the "many" attribute
     */
    void setMany(boolean many);
    
    /**
     * Sets (as xml) the "many" attribute
     */
    void xsetMany(org.eclipse.emf.x2002.ecore.EBoolean many);
    
    /**
     * Unsets the "many" attribute
     */
    void unsetMany();
    
    /**
     * Gets the "required" attribute
     */
    boolean getRequired();
    
    /**
     * Gets (as xml) the "required" attribute
     */
    org.eclipse.emf.x2002.ecore.EBoolean xgetRequired();
    
    /**
     * True if has "required" attribute
     */
    boolean isSetRequired();
    
    /**
     * Sets the "required" attribute
     */
    void setRequired(boolean required);
    
    /**
     * Sets (as xml) the "required" attribute
     */
    void xsetRequired(org.eclipse.emf.x2002.ecore.EBoolean required);
    
    /**
     * Unsets the "required" attribute
     */
    void unsetRequired();
    
    /**
     * Gets the "eType" attribute
     */
    java.lang.String getEType();
    
    /**
     * Gets (as xml) the "eType" attribute
     */
    org.apache.xmlbeans.XmlAnyURI xgetEType();
    
    /**
     * True if has "eType" attribute
     */
    boolean isSetEType();
    
    /**
     * Sets the "eType" attribute
     */
    void setEType(java.lang.String eType);
    
    /**
     * Sets (as xml) the "eType" attribute
     */
    void xsetEType(org.apache.xmlbeans.XmlAnyURI eType);
    
    /**
     * Unsets the "eType" attribute
     */
    void unsetEType();
    
    /**
     * A factory class with static methods for creating instances
     * of this type.
     */
    
    public static final class Factory
    {
        /** @deprecated No need to be able to create instances of abstract types */
        public static org.eclipse.emf.x2002.ecore.ETypedElement newInstance() {
          return (org.eclipse.emf.x2002.ecore.ETypedElement) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
        
        /** @deprecated No need to be able to create instances of abstract types */
        public static org.eclipse.emf.x2002.ecore.ETypedElement newInstance(org.apache.xmlbeans.XmlOptions options) {
          return (org.eclipse.emf.x2002.ecore.ETypedElement) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
        
        /** @param xmlAsString the string value to parse */
        public static org.eclipse.emf.x2002.ecore.ETypedElement parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException {
          return (org.eclipse.emf.x2002.ecore.ETypedElement) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, null ); }
        
        public static org.eclipse.emf.x2002.ecore.ETypedElement parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (org.eclipse.emf.x2002.ecore.ETypedElement) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, options ); }
        
        /** @param file the file from which to load an xml document */
        public static org.eclipse.emf.x2002.ecore.ETypedElement parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (org.eclipse.emf.x2002.ecore.ETypedElement) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, null ); }
        
        public static org.eclipse.emf.x2002.ecore.ETypedElement parse(java.io.File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (org.eclipse.emf.x2002.ecore.ETypedElement) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, options ); }
        
        public static org.eclipse.emf.x2002.ecore.ETypedElement parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (org.eclipse.emf.x2002.ecore.ETypedElement) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); }
        
        public static org.eclipse.emf.x2002.ecore.ETypedElement parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (org.eclipse.emf.x2002.ecore.ETypedElement) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); }
        
        public static org.eclipse.emf.x2002.ecore.ETypedElement parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (org.eclipse.emf.x2002.ecore.ETypedElement) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); }
        
        public static org.eclipse.emf.x2002.ecore.ETypedElement parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (org.eclipse.emf.x2002.ecore.ETypedElement) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); }
        
        public static org.eclipse.emf.x2002.ecore.ETypedElement parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (org.eclipse.emf.x2002.ecore.ETypedElement) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); }
        
        public static org.eclipse.emf.x2002.ecore.ETypedElement parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (org.eclipse.emf.x2002.ecore.ETypedElement) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); }
        
        public static org.eclipse.emf.x2002.ecore.ETypedElement parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException {
          return (org.eclipse.emf.x2002.ecore.ETypedElement) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, null ); }
        
        public static org.eclipse.emf.x2002.ecore.ETypedElement parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (org.eclipse.emf.x2002.ecore.ETypedElement) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, options ); }
        
        public static org.eclipse.emf.x2002.ecore.ETypedElement parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
          return (org.eclipse.emf.x2002.ecore.ETypedElement) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); }
        
        public static org.eclipse.emf.x2002.ecore.ETypedElement parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (org.eclipse.emf.x2002.ecore.ETypedElement) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); }
        
        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
        public static org.eclipse.emf.x2002.ecore.ETypedElement parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return (org.eclipse.emf.x2002.ecore.ETypedElement) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
        
        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
        public static org.eclipse.emf.x2002.ecore.ETypedElement parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return (org.eclipse.emf.x2002.ecore.ETypedElement) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
        
        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
        
        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
        
        private Factory() { } // No instance of this class allowed
    }
}
